<template>
  <el-container direction="vertical" class="wrapper">
    <Header/>
    <el-container direction="horizontal">
      <Aside/>
      <Main/>
    </el-container>
  </el-container>
</template>

<script>
import Header from "@/components/public/Header.vue";
import Aside from "@/components/public/Aside.vue";
import Main from "@/components/public/Main.vue";
import { onMsg } from '../store/actions/msgs.js';
// const SDK = require("../sdk/NIM_Web_SDK_v5.8.0.js");
export default {
  name: "Admin",
  components: {
    Header,
    Aside,
    Main
  },

/*
  网易云sdk 函数
  mounted() {    
    let doctorInfo = sessionStorage.getItem("doctorInfo");    
    console.log("admin vue page -- ",sessionStorage.getItem("doctorInfo"))
    if(doctorInfo){
      let loginInfo = {
      account : doctorInfo.phone,
      im_token: doctorInfo.im_token
    }
    this.$store.dispatch('connect',loginInfo) 
    }             
  },*/
};
</script>
